﻿using MiniFox.Components;
using MiniFox.Platform.File.Models;

namespace Platform.Core.Services
{
    /// <summary>
    /// 
    /// </summary>
    [AutoRegister]
    public interface IRandomFileLoader
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        FileData RandomLoad(string path);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        Task<FileData> RandomLoadAsync(string path);
    }
}